package com.scpii.api.persistence.auth;

import java.util.List;

import com.scpii.api.domain.auth.UserConfigs;

public interface UserConfigsMapper {
	
	/**
	 * 更新用户的消息推送设置
	 * @param userConfigs
	 * @return
	 */
	int updatePushSetting(UserConfigs userConfigs);
	
	/**
	 * 查询用户PUSH配置信息
	 * @param id	用户ID
	 * @return
	 */
	List<UserConfigs> selectUserConfigsByUserId(Long id);
	int insert(UserConfigs record);
	
	
	
	
	
	
    int deleteByPrimaryKey(Long id);

    

    int insertSelective(UserConfigs record);

    

    int updateByPrimaryKeySelective(UserConfigs record);

    int updateByPrimaryKey(UserConfigs record);
}